package com.dao;

import com.beans.AdminInfo;
import com.jdbc.DBUtil;

public class LoginDao {
	public AdminInfo getAdmininfo(String password,String adminName) {
		return DBUtil.getSingleObj("select * from admininfo where password=? and adminName=? and state!=0",AdminInfo.class,password,adminName);
	}
}
